package cn.edu.sjtu.se.dslab.component.data.xmi;

import java.io.Serializable;
import java.util.Set;

public class XMIDomainEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8019985581813643929L;
	/**
	 * id 自动生成
	 */
	private String id;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * xmi定义是的type
	 */
	private String defType;
	/**
	 * 另一个 functional ID
	 */
	private String funId;
	
	/**
	 * block ID
	 */
	private String blockId;
	
	/**
	 * uri
	 */
	private String uri;
	/**
	 * type 
	 */
	private String type;
	
	private Set<XMIAttribute> attrs;
	private Set<XMIOperation> operations;
	private Set<XMIGeneralization> generalizations;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDefType() {
		return defType;
	}
	public void setDefType(String defType) {
		this.defType = defType;
	}
	public String getFunId() {
		return funId;
	}
	public void setFunId(String funId) {
		this.funId = funId;
	}
	public String getUri() {
		return uri;
	}
	public void setUri(String uri) {
		this.uri = uri;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Set<XMIAttribute> getAttrs() {
		return attrs;
	}
	public void setAttrs(Set<XMIAttribute> attrs) {
		this.attrs = attrs;
	}
	public Set<XMIOperation> getOperations() {
		return operations;
	}
	public void setOperations(Set<XMIOperation> operations) {
		this.operations = operations;
	}
	public Set<XMIGeneralization> getGeneralizations() {
		return generalizations;
	}
	public void setGeneralizations(Set<XMIGeneralization> generalizations) {
		this.generalizations = generalizations;
	}
	public String getBlockId() {
		return blockId;
	}
	public void setBlockId(String blockId) {
		this.blockId = blockId;
	}
}
